package com.gdsdxy.bookshop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gdsdxy.bookshop.pojo.Cart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface CartMapper extends BaseMapper<Cart> {
    Integer deletebyId(Integer cartid);
    /**
     * 修改购物车中商品的数量
     * @param cartid 购物车数据id
     * @param quantity 新的数量
     * @return 受影响的行数
     */

}
